from django.contrib import admin
from . import models


# Register your models here.
# 继承ModelAdmin类
class StudentAdmin(admin.ModelAdmin):
    # list_display是一个数组
    list_display = ['t_name', 't_city', 't_age', 't_sex', 't_address']


admin.site.register(models.Student, StudentAdmin)
